<template>
  <div class="demo-title">steps/demo3</div>
  <div class="demo">
    <Steps :current="current" :datas="datas" />
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue'
  import Steps from '@sscd-mobile/steps'
  const current = ref(2)
  const datas = [
    { title: 'Step 1', content: '初级' },
    { title: 'Step 2', content: '中级' },
    { title: 'Step 3', content: '高级' },
    { title: 'Step 4', content: '专家' }
  ]
</script>

<style lang="less" scoped>
  .demo {
    padding: 15px 0;
    background-color: white;
  }
</style>
